package edu.neu.cloud_factory.entity.po;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 竞标
 * </p>
 *
 * @author halozhy
 * @since 2021-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_bid")
public class Bid implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "b_id", type = IdType.AUTO)
    private Long bId;

    private Long bFactoryId;

    private Long bOrderId;

    private BigDecimal bPrice;

    private Long bAcceptNum;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long bWinNum;

    private LocalDateTime bBidTime;

    private String bState;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime bWinTime;


}
